package com.syq.news;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "com.syq.*")
@MapperScan(basePackages = "com.syq.mapper")
public class NewsApplication {

    public static void main(String [] args){
        SpringApplication.run(NewsApplication.class,args);
    }
}